# -*- coding: utf-8 -*-
"""
-------------------------------------------------
Project Name: luffcity study project
File Name: 可变参数.py
Author: kij
Create Date: 2021/2/13
-------------------------------------------------
"""


# def func(x, y, *args):
# 	print(x, y, args)
#
#
# func(*[3, 4, 5, 6])
# func(1, 2, [3, 4, 5, 6])
# func(1, 2, *[3, 4, 5, 6])

# def func(x, y, **kwargs):
# 	print(x, y, kwargs)

# def func(x, y, z):
# 	print(x, y, z)
#
# func(*{'x':1,'y':2,'z':3})
# func(**{'x':1,'y':2,'z':3})
# def func(x, y, **kwargs):
# 	print(x, y, kwargs)
#
# func(**{'x': 1, 'y': 2, 'z': 3})

def func(x, y, *, a=22, b):
	print(x, y)
	print(a, b)


func(1, 2,b=7)
